﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Web;

namespace HashFoo.Rest.ServerTests.FakeHttpStack
{
    public class FakeHttpContext : HttpContextBase
    {
        public FakeHttpContext( )
        {
            FakeRequest = new FakeHttpRequest();
            FakeResponse = new FakeHttpResponse();
        }

        public override HttpRequestBase Request
        {
            get
            {
                return FakeRequest;
            }
        }

        public override HttpResponseBase Response
        {
            get
            {
                return FakeResponse;
            }
        }

        public FakeHttpRequest FakeRequest { get; private set; }
        public FakeHttpResponse FakeResponse { get; private set; }
    }
}